package com.ybc.通用编程;

public class Test {
    public static void main(String[] args) {
        String s = "hello world";
        StringBuilder s1 = new StringBuilder(s);
        s= s1.append("java").toString();
        s1.append("java");
        System.out.println(s);
        System.out.println(s1);
    }
}
